/**
 * Copyright 2020 OPSLI 快速开发平台 https://www.opsli.com
 * <p>
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 * <p>
 * http://www.apache.org/licenses/LICENSE-2.0
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */
package org.opsli.modulars.shop.userorder.entity;

import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.opsli.core.base.entity.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 用户订单 Entity
 *
 * @author 17607080935
 * @date 2024-10-31 21:09:23
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class ShopUserOrder extends BaseEntity {

    String outRefundNo;
    BigDecimal dingjin;
    /**
     * 0 未支付，1已支付，2已退款
     */
    Integer dingjinStatus = 0;
    String remarks;
    /**
     * 多租户字段
     */

    String orgIds;
    /**
     * 用户ID
     */
    private String uid;
    /**
     * 商品标题
     */
    private String title;
    /**
     * 金额
     */
    private BigDecimal price;
    /**
     * 人数
     */
    private Integer number;
    /**
     * 0 未预约，1预约。2 商家确认，3用户取消
     */
    private Integer status = 0;
    /**
     * 预约日期
     */
    private Date date;
    // ========================================
    /**
     * 逻辑删除字段
     */
    @TableLogic
    private String deleted;

    // ========================================


}